package com.qfedu.knowledge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.knowledge.entity.bo.QuestionInfoBO;
import com.qfedu.knowledge.entity.dto.BasePageDTO;
import com.qfedu.knowledge.entity.dto.QueryDTO;
import com.qfedu.knowledge.entity.dto.QuestionInfoDTO;
import com.qfedu.knowledge.entity.vo.PageResult;
import com.qfedu.knowledge.entity.vo.QuestionInfoVO;

/**
 * @ClassName IQuestionInfoService
 * @Author ykx
 * @Date 2024/1/3 10:19
 * @Version 1.0
 */
public interface IQuestionInfoService extends IService<QuestionInfoBO> {
    /**
     * @return List<QuestionInfoVO>
     */
    PageResult<QuestionInfoVO> getQuestionInfoByPage(BasePageDTO basePageDTO, QueryDTO queryDTO);

    Boolean addQuestion(QuestionInfoDTO questionInfoDTO);

    QuestionInfoVO getBaseInfoById(Long id);

    Boolean updQuestionInfo(QuestionInfoDTO questionInfoDTO);

}
